package com.easylinkin.linkappapi.meterbilling.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.meterbilling.entity.ext.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/8 11:55
 */
public interface RoomManagerService {

    String saveRoomInfo(GlobalRoomInfo globalRoomInfo);

    String updateRoomInfo(GlobalRoomInfo globalRoomInfo);

    void batchUpdateRoomBilling(BatchUpdateRoom batchUpdateRoom);

    GlobalRoomInfo getGlobalRoomInfo(Integer roomId);

    void delete(Integer roomId);

    IPage<RoomList> getRoomPage(Page page, RoomList roomList);

    List<WechatRoomList> getRoomListByResident();

    WechatRoomInfo queryRoomData(Integer roomId);

    void export(RoomList roomList, HttpServletRequest request, HttpServletResponse response);

    void deleteTimerTask();
}
